import BPObject from "./BPObject";
import ParamConfig from './ParamConfig'
/**
 * 参数节点
 */
export default class ParamNode extends BPObject {

    constructor(type) {
        super(type);
        let config = ParamConfig[type];
        this.name = config.name;
        this.labelCom.string = this.name;
    }
    render(graphics, labelLayer) {
        this.labelNameNode.parent = labelLayer;
    }
}